package com.jinmdz.fmis.api.admin.model.hall;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 守灵厅告别厅信息
 *
 * @author LiCongLu
 * @date 2020-03-11 20:48
 */
@ApiModel(value = "守灵厅告别厅信息", description = "守灵厅告别厅信息")
public class HallSaveData extends BaseBean {
    /**
     * 主键
     */
    @AnValidate(name = "主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    /**
     * 礼厅类型编码
     */
    @AnValidate(name = "礼厅类型编码", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "礼厅类型编码", name = "hallTypeCode", position = 2)
    private Integer hallTypeCode;

    /**
     * 礼厅编码
     */
    @AnValidate(name = "礼厅编码", required = true)
    @ApiModelProperty(value = "礼厅编码", name = "hallCode", position = 3)
    private String hallCode;

    /**
     * 礼厅名称
     */
    @AnValidate(name = "礼厅名称", required = true)
    @ApiModelProperty(value = "礼厅名称", name = "hallCode", position = 4)
    private String hallName;

    /**
     * 礼厅描述
     */
    @AnValidate(name = "礼厅描述")
    @ApiModelProperty(value = "礼厅描述", name = "hallDescribe", position = 5)
    private String hallDescribe;

    /**
     * 是否守灵厅
     */
    @AnValidate(name = "是否守灵厅", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "是否守灵厅", name = "asWake", position = 6)
    private Integer asWake;

    /**
     * 是否告别厅
     */
    @AnValidate(name = "是否告别厅", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "是否告别厅", name = "asFarewell", position = 7)
    private Integer asFarewell;

    /**
     * 禁用状态
     */
    @AnValidate(name = "禁用状态", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 8)
    private Integer disableState;

    /**
     * 排序
     */
    @AnValidate(name = "排序", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "排序", name = "sort", position = 9)
    private Integer sort;

    /**
     * 备注
     */
    @AnValidate(name = "备注")
    @ApiModelProperty(value = "备注", name = "remark", position = 10)
    private String remark;

    /**
     * 数据版本号
     */
    @AnValidate(name = "数据版本号")
    @ApiModelProperty(value = "数据版本号", name = "version", position = 11)
    private Long version;

    public Integer getId() {
        return id;
    }

    public HallSaveData setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getHallTypeCode() {
        return hallTypeCode;
    }

    public HallSaveData setHallTypeCode(Integer hallTypeCode) {
        this.hallTypeCode = hallTypeCode;
        return this;
    }

    public String getHallCode() {
        return hallCode;
    }

    public HallSaveData setHallCode(String hallCode) {
        this.hallCode = hallCode;
        return this;
    }

    public String getHallName() {
        return hallName;
    }

    public HallSaveData setHallName(String hallName) {
        this.hallName = hallName;
        return this;
    }

    public String getHallDescribe() {
        return hallDescribe;
    }

    public HallSaveData setHallDescribe(String hallDescribe) {
        this.hallDescribe = hallDescribe;
        return this;
    }

    public Integer getAsWake() {
        return asWake;
    }

    public HallSaveData setAsWake(Integer asWake) {
        this.asWake = asWake;
        return this;
    }

    public Integer getAsFarewell() {
        return asFarewell;
    }

    public HallSaveData setAsFarewell(Integer asFarewell) {
        this.asFarewell = asFarewell;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public HallSaveData setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public HallSaveData setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public HallSaveData setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public HallSaveData setVersion(Long version) {
        this.version = version;
        return this;
    }
}
